import httpInstant from '../utils/http';


/**
 * @description 获得该用户的所有关注列表
 * @param 用户id
 * @returns
 */
export function getAllAttentionListApi(userId) {
  return httpInstant.get(`/mention/getAllAttentionList?userId=${userId}`);
}


/**
 * @description 提及某用户，点击这个用户时，传递用户名字，后端返回该用户的id
 * @param 用户id
 * @returns
 */
export function giveUserNameGetUserIdApi(userName) {
  return httpInstant.get(`/mention/giveUserNameGetUserId?userName=${userName}`);
}